.PHONY:all
all:tcpServer tcpClient

tcpServer:main.cpp
	g++ $^ -o $@ -std=c++11 -lpthread

tcpClient:tcpClient.cpp
	g++ $^ -o $@ -std=c++11

.PHONY:clean
clean:
	rm -rf tcpServer tcpClient